package com.jwthhealth_pub.old.subscribe;

import com.jwthhealth_pub.old.base.NewBaseView;
import com.jwthhealth_pub.old.subscribe.model.SubscribeIndex;
import com.jwthhealth_pub.old.subscribe.model.SubscribeList;

import java.util.List;

/**
 * 预约接口
 * Created by Administrator on 2017/7/12.
 */

public interface SubscribeContect {
    interface presenter{
        //获取位置
        void location();
        //获取附近门店信息
        void getCloseShopInfo(String provinceName, String cityName, String zoneName);
        //获取门店信息
        void getShopsinfo(String latitude, String longitude);
        void shopInfo(String lat, String lon);
        //获取项目时间列表
        void getTimeList(String pid, String sid, String date);
        //添加地址
        void addAdd(String provinceName, String cityName, String zoneName);
        //获取已选择色门店信息
        void getCacheData();
    }

    interface view extends NewBaseView {
        //刷新页面
        void refreshUi(List<SubscribeIndex.DataBean> data);
        //刷新当前位置
        void refreshCurAdd(String add);
        //刷新选择的门店
        void choiceShop(SubscribeIndex.DataBean shop);
        //选择门店
        void showShopList();
        //选择日期
        void showDateList();
        //选择项目
        void showProjectList();
        //选择时间
        void showTimeList();
        //展示修改数据
        void refreshCache(SubscribeList.DataBean data);
        //显示底部弹窗
        void showBottomMenu(int type);
    }
}
